package com.ysd.lis.entity.bac;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ysd.lis.entity.BaseEntityJpa;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * <p>
 * cold_chain.t_menu
 * </p>
 *
 * @author Peng
 * @since 2025-01-03
 */
@Data
@TableName(value = "BAC_NATURAL_MDR_RULE")
@Entity
@Table(name = "BAC_NATURAL_MDR_RULE")
public class BacNaturalMdrRule extends BaseEntityJpa {

    private static final long serialVersionUID = 1L;
    //细菌
    @TableField("GERM_NO")
    @Column(name = "GERM_NO")
    private String germNo;
    //抗生素分类
    @TableField("ANT_CLASS_NO")
    @Column(name = "ANT_CLASS_NO")
    private String antClassNo;
    //抗生素子分类
    @TableField("SUB_CLASS_NO")
    @Column(name = "SUB_CLASS_NO")
    private String subClassNo;
    //抗生素
    @TableField("ANT_NO")
    @Column(name = "ANT_NO")
    private String antNo;

    @TableField("SEQ")
    @Column(name = "SEQ")
    private Integer seq;

    @Transient
    @TableField(exist = false)
    private String antClassNa;

    @Transient
    @TableField(exist = false)
    private String subClassNa;

    @Transient
    @TableField(exist = false)
    private String germNa;

    @Transient
    @TableField(exist = false)
    private String antNa;
}
